package com.whynot.frame.ms.controller;

import com.whynot.frame.basic.mybatis.conroller.BaseTreeController;
import com.whynot.frame.ms.entities.SysDept;
import com.whynot.frame.ms.service.impl.DeptServiceImpl;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 描    述:部门基础接口
 * 创建时间: 2018/07/01
 */
@Api(value = "dept",description = "部门接口")
@RestController
@RequestMapping("/dept")
public class DeptController extends BaseTreeController<DeptServiceImpl,SysDept> {

    @Override
    protected String getTextPropertyName() {
        return "deptName";
    }

}